// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-03B TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['The Dead South & Shakey Graves','Big Four Building','Calgary, Canada','Sunday','7/7/2024','4:30 PM','6293313','The-Dead-South---Shakey-Graves-7-7-2024'],['The Dead South','Ryman Auditorium','Nashville, TN','Friday','7/12/2024','8:00 PM','6131417','The-Dead-South-7-12-2024'],['The Dead South','Ryman Auditorium','Nashville, TN','Saturday','7/13/2024','8:00 PM','6131415','The-Dead-South-7-13-2024'],['The Dead South','The Rhythm Section Amphitheater','Mount Carroll, IL','Sunday','7/14/2024','6:00 PM','6215852','The-Dead-South-7-14-2024'],['The Dead South','Dillon Amphitheater','Dillon, CO','Friday','8/2/2024','TBD','6303346','The-Dead-South-8-2-2024'],['The Dead South','Dillon Amphitheater','Dillon, CO','Saturday','8/3/2024','TBD','6303347','The-Dead-South-8-3-2024'],['The Dead South','KettleHouse Amphitheater','Bonner, MT','Monday','8/5/2024','8:00 PM','6215487','The-Dead-South-8-5-2024'],['Sturgis Buffalo Chip's Motorcycle and Music Festival: Hinder & Theory of a Deadman - Campground Admission','Buffalo Chip Campground','Sturgis, SD','Wednesday','8/7/2024','TBD','6164900','Sturgis-Buffalo-Chip-s-Motorcycle-and-Music-Festival--Hinder---Theory-of-a-Deadman---Campground-Admission-8-7-2024'],['The Dead South','Paramount Theatre - Seattle','Seattle, WA','Wednesday','8/7/2024','8:00 PM','6215488','The-Dead-South-8-7-2024'],['The Dead South','McMenamins Historic Edgefield Amphitheater','Troutdale, OR','Thursday','8/8/2024','6:30 PM','6215435','The-Dead-South-8-8-2024']],'"The Dead South"','https://www.ticketnetwork.com');